<template lang="">
    <div>
        {{Text}}
      <button type='button' @click='submit()'></button>
    </div>
</template>
<script>
import Axios from 'axios';


export default {
    data() {
        return {
            Text:''
        }
    },methods: {
        submit(){
         Axios.post('http://10.30.54.94:3000/login',{
                userName: this.zhanghao,
                passWord: this.mima
          }).then((data)=>{
      
      this.Text=data.data
})
        }
    },
}
</script>
<style lang="">
    
</style>